
// Create the namespace and the conf vars
var TBL = {
	//Moodule vars
	version: "1.0",
	basePath: "/js/",
	minimumFlashVersion: "8",
	deferFuntion: /MSIE 6/.test(navigator.userAgent) ? "load" : "domready",
	heightStyle : /MSIE [56]/.test(navigator.userAgent) ? "height" : "minHeight",
	isQuirks : /MSIE/.test(navigator.userAgent) && document.compatMode ? true : false,
	checkCapabilities: true, // active la verification des capacites du navigateur, et l'instanciation conditionnelle des modules (cf Moodule.check)
	debugMode : false // active le trace,
};


// en prod, utiliser le fichier _default.js, apres concatenation
TBL.Import = function (scriptName, noCache){
	var cache = noCache ? "?noCache=" + (new Date()).getTime() : "";
	var ext = /\./.test(scriptName) ? "" : ".js";
	document.write('<script type="text/javascript" charset="utf-8" src="' + TBL.basePath + scriptName + ext + cache + '"></script>');
};

// appel du core, a ne pas changer
TBL.Import("mt-min");
TBL.Import("mootools/mootools-more/Source/Class/Class.Binds.js");
TBL.Import("mootools/mootools-core/Source/Fx/Fx.js");
TBL.Import("mootools/mootools-core/Source/Fx/Fx.CSS.js");
TBL.Import("mootools/mootools-core/Source/Fx/Fx.Tween.js");
TBL.Import("mootools/mootools-core/Source/Fx/Fx.Transitions.js");
TBL.Import("mootools-extend");
TBL.Import("TBL-Core", true);
TBL.Import("TBL-Custom");

// appels des scripts tiers
//TBL.Import("class/cufon");

// appels des modules et class
TBL.Import("class/BlockToggle");
//TBL.Import("objects/Drag");
// TBL.Import("objects/tableCreator");
//	TBL.Import("objects/MooRainbow");
TBL.Import("class/BlockScrollable");
TBL.Import("class/Dock");
// TBL.Import("class/FogManager");
TBL.Import("class/BlockTabs");
TBL.Import("class/ScrollToAnchor");
TBL.Import("class/BlockSlider");
TBL.Import("class/CssAnimator");
/*TBL.Import("objects/FogBox");
TBL.Import("class/Slider");
TBL.Import("objects/Accordion");
TBL.Import("class/InputAutoclean");
TBL.Import("class/Popup");
TBL.Import("class/FakeSelect");
TBL.Import("class/ClickableBlock");
TBL.Import("class/SkinCheckableInput");
TBL.Import("class/SkinSelect");
TBL.Import("objects/FormValidator");
TBL.Import("class/ValidateForm");
TBL.Import("class/ValidateFormLayer");
TBL.Import("class/Carrousel");
TBL.Import("scripts/datepicker");
TBL.Import("class/SkinSelectSimple");
//TBL.Import("class/RowResize");
TBL.Import("scripts/reflection");*/

// appels de l'applicatif

// laisser ce fichier a la fin
TBL.Import("TBL-End");
